package spring.lottery.dao.dataObject;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import spring.lottery.common.pojo.EncryptPNumber;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("winning_record")
public class WinningRecordDO extends BaseDo {
    private Long activityId;
    private String activityName;
    private Long prizeId;
    private String prizeName;
    private String prizeTier;
    private Long WinnerId;
    private String WinnerName;
    private String WinnerEmail;
    private EncryptPNumber WinnerPhoneNumber;
    private Date WinningTime;
}
